//
//  NSArray+WCExtensions.h
//  WabbitCode
//
//  Created by William Towe on 11/9/08.
//  Copyright 2008 Revolution Software. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface NSArray (WCExtensions)
- (id)firstObject;

// returns an array of NSSortDescriptor objects created from an array of NSDictionary objects
- (NSArray *)sortDescriptorsFromDictionaries;

- (NSIndexSet *)indexSetFromArray;

+ (id)arrayWithSet:(NSSet *)set;
@end

@interface NSMutableArray (WCExtensions)
- (void)removeFirstObject;
- (void)replaceObject:(id)objectToRemove withObject:(id)object;
@end
